Hi, i should check if there are any defference between the Object Text of two objects, but i should be able to understand also f there are defference between the images, table or each ole object included in the Object Text. If there are defference i should update the Object Text of one of the object. How can i do it? bungle_77 - Mon Nov 25 04:08:29 EST 2013 |
Re: Object Text compare (OLE Objects) someone can help me? My script should check if the "Object Text" of two objects (AQand B) is defferent and if it is defferent i should copy the Object Text of A in B. The prblem is that i should intercept the defference also between oleobjects or pictures between the two objects and i should copy also the oleobjects and the pictures |
Re: Object Text compare (OLE Objects) bungle_77 - Thu Dec 12 05:26:49 EST 2013 someone can help me? My script should check if the "Object Text" of two objects (AQand B) is defferent and if it is defferent i should copy the Object Text of A in B. The prblem is that i should intercept the defference also between oleobjects or pictures between the two objects and i should copy also the oleobjects and the pictures getting the richTextWithOLE of both and comparing will (as far as I know) always result in a difference. I wonder if you can simply always overwrite the target with the source value; whether they are different of not. You could also overwrite if the lastModifiedDate (and time) of the source is more recent than that of the target. -Louie |
Re: Object Text compare (OLE Objects) bungle_77 - Thu Dec 12 05:26:49 EST 2013 someone can help me? My script should check if the "Object Text" of two objects (AQand B) is defferent and if it is defferent i should copy the Object Text of A in B. The prblem is that i should intercept the defference also between oleobjects or pictures between the two objects and i should copy also the oleobjects and the pictures We had that topic covered in this post: Regards, Mathias |